@extends('lottery.layout')
@section('title')
    中奖名单
@stop
@section('content')
        <div class="prizeBox">
            <img src="/img/lottery/title.gif" style="width: 100%">
            <div class="prizeListBox" style="text-align: center">
                @if($prize->prize !=0)
                <div class="prizeTip">
                    <p>恭喜您 获得
                        @if($prize->prize == 1)
                           <span>一等奖</span>
                        @elseif($prize->prize == 2)
                            <span>二等奖</span>
                        @elseif($prize->prize == 3)
                            <span>三等奖</span>
                        @elseif($prize->prize == 4)
                            <span>四等奖</span>
                        @else
                            <span>五等奖</span>
                        @endif
                    </p>
                    <p style="font-size:12px;margin:10px 0">{{ $prizeData['prize_intr'] }}</p>
                </div>
                {!! QrCode::size(200)->generate("http://wx.yiwugou.com/lottery/getPrize/oUS4puPlHA53wkg2awtQhxeIMut0".'?lottery_id='.$lotteryId/*.session('wechat.user')->id.'?lottery_id='.$lotteryId*/) !!}
                <p>中奖二维码，领奖时请出示</p>
                @else
                    <p>抱歉，您未中奖，谢谢参与</p>
                @endif
            </div>
        </div>


@stop